github.com/jackc/pgx/v5/internal/sanitize.sqlLexer.pos (field)

64 uses

	github.com/jackc/pgx/v5/internal/sanitize (current package)
		sanitize.go#L214: 	pos       int
		sanitize.go#L225: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L226: 		l.pos += width
		sanitize.go#L230: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L232: 				l.pos += width
		sanitize.go#L240: 			nextRune, _ := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L242: 				if l.pos-l.start > 0 {
		sanitize.go#L243: 					l.parts = append(l.parts, l.src[l.start:l.pos-width])
		sanitize.go#L245: 				l.start = l.pos
		sanitize.go#L252: 			if tagLen, ok := scanDollarQuoteTag(l.src[l.pos:]); ok {
		sanitize.go#L253: 				l.dollarTag = l.src[l.pos : l.pos+tagLen]
		sanitize.go#L254: 				l.pos += tagLen + 1 // advance past tag and closing '$'
		sanitize.go#L258: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L260: 				l.pos += width
		sanitize.go#L264: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L266: 				l.pos += width
		sanitize.go#L271: 				if l.pos-l.start > 0 {
		sanitize.go#L272: 					l.parts = append(l.parts, l.src[l.start:l.pos])
		sanitize.go#L273: 					l.start = l.pos
		sanitize.go#L283: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L284: 		l.pos += width
		sanitize.go#L288: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L292: 			l.pos += width
		sanitize.go#L295: 				if l.pos-l.start > 0 {
		sanitize.go#L296: 					l.parts = append(l.parts, l.src[l.start:l.pos])
		sanitize.go#L297: 					l.start = l.pos
		sanitize.go#L307: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L308: 		l.pos += width
		sanitize.go#L312: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L316: 			l.pos += width
		sanitize.go#L319: 				if l.pos-l.start > 0 {
		sanitize.go#L320: 					l.parts = append(l.parts, l.src[l.start:l.pos])
		sanitize.go#L321: 					l.start = l.pos
		sanitize.go#L335: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L336: 		l.pos += width
		sanitize.go#L351: 			l.pos -= width
		sanitize.go#L352: 			l.start = l.pos
		sanitize.go#L363: 	idx := strings.Index(l.src[l.pos:], closer)
		sanitize.go#L371: 		l.pos = len(l.src)
		sanitize.go#L374: 	l.pos += idx + len(closer)
		sanitize.go#L422: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L423: 		l.pos += width
		sanitize.go#L427: 			_, width = utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L428: 			l.pos += width
		sanitize.go#L430: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L434: 			l.pos += width
		sanitize.go#L437: 				if l.pos-l.start > 0 {
		sanitize.go#L438: 					l.parts = append(l.parts, l.src[l.start:l.pos])
		sanitize.go#L439: 					l.start = l.pos
		sanitize.go#L449: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L450: 		l.pos += width
		sanitize.go#L457: 				if l.pos-l.start > 0 {
		sanitize.go#L458: 					l.parts = append(l.parts, l.src[l.start:l.pos])
		sanitize.go#L459: 					l.start = l.pos
		sanitize.go#L469: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L470: 		l.pos += width
		sanitize.go#L474: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L476: 				l.pos += width
		sanitize.go#L480: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L485: 			l.pos += width
		sanitize.go#L493: 				if l.pos-l.start > 0 {
		sanitize.go#L494: 					l.parts = append(l.parts, l.src[l.start:l.pos])
		sanitize.go#L495: 					l.start = l.pos